import { deviceColorList } from '@/data/system.options';
import { stageConfig } from '../../data/stage';

export const getColorList = computed(() => {
  let arr: any[] = [];
  deviceColorList.forEach(e => {
    if (stageConfig.value.deviceColor === e.value || stageConfig.value.deviceColor === e.label) {
      arr = e.colorList;
    }
  });

  return arr;
});
